Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the GPUModelRunner to track and handle the re-initialization of InputBatch based on max_num_blocks and max_model_len. However, the may_reinitialize_input_batch method is missing the cp_kv_cache_interleave_size parameter when instantiating InputBatch, which could cause Context Parallelism to malfunction by reverting to default values.
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
3 times, most recently
from
April 30, 2026 16:24
c170809 to
744859b
Compare
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
2 times, most recently
from
May 4, 2026 09:19
8142a3f to
22c3832
Compare
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
2 times, most recently
from
May 17, 2026 15:10
31d4ccd to
282472b
Compare
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
from
June 5, 2026 20:27
282472b to
32c5cd4
Compare
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
from
June 14, 2026 01:33
32c5cd4 to
c81cf71
Compare
Signed-off-by: IriKa Qiu <qiujie.jq@gmail.com>
…oid reset to 1 Signed-off-by: IriKa Qiu <qiujie.jq@gmail.com>
ir1ka
force-pushed
the
tensor-dim-mismatch
branch
from
June 23, 2026 17:20
c81cf71 to
9b1997d
Compare
Contributor
|
This pull request has merge conflicts that must be resolved before it can be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Fix #40716.
Test Plan
Test model
nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4on 4x RTX 3090 with pr #38985 based on version0.19.2rc1.dev134+gfe9c3d6c5.Although untested, this might also work for #39202.
Test Result
Start the
vllm servesuccessful, and crash with errorRuntimeError: The size of tensor a (58) must match the size of tensor b (63) at non-singleton dimension 1if w/o this pr.The test command:
Results:
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.